<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<div id="register-full">
	<form:form method="post" id="registerForm" commandName="userForm" action="/user/register">
		<input type="hidden" id="try-again" value="<fmt:message key="user.register.tryagain"/>"></input>
		<div id="table-register-form">
		        <form:label path="firstName"><fmt:message key="user.firstname"/></form:label>
		        <form:input path="firstName" />
		    
		    
		        <form:label path="lastName"><fmt:message key="user.lastname"/></form:label>
		        <form:input id="lasNameRegister" path="lastName" />
		    
		    
		        <form:label path="mail"><fmt:message key="user.email"/></form:label>
		        <form:input id="mailRegister" path="mail" />
		    
		    
		        <form:label path="password"><fmt:message key="user.password"/></form:label>
		        <form:password id="passwordRegister" path="password" />
		    
		    
		        <form:label path="passwordConfirm"><fmt:message key="user.passwordConfirm"/></form:label>
		        <form:password id="passwordConfirmRegister" path="passwordConfirm" />
		    
		    
		        <form:label path="birthDate"><fmt:message key="user.birthdate"/></form:label>
		        <div class="select">
		        	<form:select id="dayBirthDateRegister" path="dayBirthDate">
		        		<form:option value=""><fmt:message key="day"/></form:option>
		        		<form:options items="${userForm.days}"/>
		        	</form:select> 
		        	<form:select id="monthBirthDateRegister" path="monthBirthDate">
		        		<form:option value=""><fmt:message key="month"/></form:option>
		        		<form:options items="${userForm.months}"/>
		        	</form:select>
		        	<form:select id="yearBirthDateRegister" path="yearBirthDate">
		        		<form:option value=""><fmt:message key="year"/></form:option>
		        		<form:options items="${userForm.years}"/>
		        	</form:select>
		        </div>
		    
		    
		        <form:label path="phone"><fmt:message key="user.phone"/></form:label>
		        <form:input id="phoneRegister" path="phone" />
		    
		    
	    </div>
	    
	    
	        <div class="register-done">
	            <img src="<fmt:message key="user.register.done"/>"></img>
	        </div>
	    
	    <div class="register-bottom">
	    	
	    	
	  		<a href="#"  id="register-previous"><img class="arrow previous" src="/resources/img/empty.png"></img></a>
	  	
	  		<a href="#"  id="register-next"><img class="arrow next" src="/resources/img/empty.png"></img></a>
	  		
	  		<div class="progress_bar-register">
	           <img alt="progress bar" src="/resources/img/login/progress_bar.gif"></img>
	      	</div>
	    </div>	
    
	
 
	</form:form>
</div>